﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace SubstrateHelper.Models
{
    /// <summary>
    /// 模板-工序-工段-工步-参数
    /// </summary>
    public class ProcessParameter:ParameterBase
    {
        


        [Display(Name = "工序名")]
        public string ProcessName { get; set; }    




        [Display(Name = "工步名")]
        [Required(ErrorMessage = "不能为空！")]
        [StringLength(20, ErrorMessage = "最大长度=20！")]
        public string StepName { get; set; }


        

        [Display(Name = "参数值变更时发送的消息")]
        public string MsgToSend { get; set; }
        




        public List<ProcessRecord> ProcessRecords { get; set; }

       
        ///////////////////////////////////////////////////////////////
        

        
    }

    

    
    
}
